using System;

namespace MMS
{
	public class MaterialDTO
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the MaterialDTO class.
		/// </summary>
		public MaterialDTO()
		{
		}

		/// <summary>
		/// Initializes a new instance of the MaterialDTO class.
		/// </summary>
		public MaterialDTO(string id, string name, string idUnit, string description, int priceByDay, string unitName, int remaining)
		{
			this.Id = id;
			this.Name = name;
			this.IdUnit = idUnit;
			this.Description = description;
			this.PriceByDay = priceByDay;
            this.UnitName = unitName;
            this.Remaining = remaining;
		}
       
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the Id value.
		/// </summary>
		public string Id { get; set; }

		/// <summary>
		/// Gets or sets the Name value.
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Gets or sets the IdUnit value.
		/// </summary>
		public string IdUnit { get; set; }

		/// <summary>
		/// Gets or sets the Description value.
		/// </summary>
		public string Description { get; set; }

		/// <summary>
		/// Gets or sets the PriceByDay value.
		/// </summary>
		public int PriceByDay { get; set; }
        public string UnitName{ get; set; }

		#endregion

        public int Remaining { get; set; }
    }
}
